import numpy as np

# coat_length_labels
cfs_mat0 = np.array(
    [
        [51, 2, 1, 0, 1, 2, 0, 1],
        [3, 131, 8, 0, 0, 0, 0, 0],
        [1, 8, 136, 3, 0, 0, 0, 0],
        [2, 0, 22, 72, 7, 0, 0, 2],
        [0, 0, 0, 12, 124, 10, 0, 0],
        [1, 0, 0, 0, 7, 221, 9, 0],
        [0, 0, 0, 0, 0, 9, 122, 2],
        [1, 0, 0, 0, 0, 0, 6, 155]
    ]
)



# collar_design_labels
cfs_mat1 = np.array(
    [
        [136, 9, 2, 4, 9],
        [1, 200, 7, 1, 1],
        [6, 12, 141, 7, 0],
        [4, 1, 14, 97, 1],
        [3, 3, 0, 0, 180]
    ]
)


# lapel_design_labels
cfs_mat2 = np.array(
    [
        [119, 1, 5, 0, 0],
        [1, 133, 2, 6, 3],
        [4, 2, 157, 1, 5],
        [0, 0, 1, 105, 1],
        [1, 4, 5, 3, 145]
    ]
)

# neck_design_labels
cfs_mat3 = np.array(
    [
        [90, 4, 2, 1, 1],
        [2, 111, 4, 3, 4],
        [0, 2, 126, 2, 0],
        [2, 8, 7, 101, 1],
        [0, 9, 0, 2, 88]
    ]
)


# neckline_design_labels
cfs_mat4 = np.array(
    [
        [171, 5, 5, 6, 9, 4, 1, 0, 1, 2],
        [6, 155, 2, 0, 0, 3, 4, 0, 13, 1],
        [0, 0, 204, 0, 26, 2, 1, 0, 1, 0],
        [3, 0, 0, 107, 0, 1, 1, 1, 0, 1],
        [2, 0, 24, 0, 181, 1, 1, 2, 0, 1],
        [1, 2, 0, 3, 1, 141, 2, 2, 0, 0],
        [1, 1, 1, 2, 0, 1, 173, 0, 0, 0],
        [4, 0, 0, 12, 1, 5, 2, 117, 0, 0],
        [1, 10, 3, 0, 0, 1, 0, 0, 150, 0],
        [2, 2, 1, 0, 1, 1, 4, 1, 0, 110]
    ]
)



# pant_length_labels
cfs_mat5 = np.array(
    [
        [135, 5, 0, 1, 0, 3],
        [0, 139, 1, 1, 0, 0],
        [3, 2, 102, 5, 0, 0],
        [3, 0, 6, 115, 10, 1],
        [1, 0, 0, 3, 78, 14],
        [3, 0, 0, 0, 11, 104]
    ]
)


# skirt_length_labels
cfs_mat6 = np.array(
    [
        [152, 7, 1, 2, 1, 1],
        [4, 120, 2, 2, 0, 0],
        [0, 1, 140, 10, 0, 0],
        [2, 0, 14, 112, 16, 1],
        [0, 0, 0, 9, 106, 10],
        [1, 0, 0, 2, 9, 197]
    ]
)



# sleeve_length_labels
cfs_mat7 = np.array(
    [
        [1, 0, 0, 0, 0, 0, 0, 0, 0],
        [0,155, 3, 0, 0, 0, 0, 0, 1],
        [0,0, 264, 8, 1, 1, 0, 0, 0],
        [0,2, 12, 143, 7, 0, 0, 0, 2],
        [0,1, 0, 0, 117, 10, 0, 0, 1],
        [0,1, 0, 0, 10, 136, 7, 2, 1],
        [0,0, 0, 1, 0, 7, 88, 6, 0],
        [0,0, 0, 0, 0, 0, 18, 118, 14],
        [0,1, 0, 0, 0, 0, 0, 7, 185]
    ]
)



cfs_mats = {
    0: cfs_mat0,
    1: cfs_mat1,
    2: cfs_mat2,
    3: cfs_mat3,
    4: cfs_mat4,
    5: cfs_mat5,
    6: cfs_mat6,
    7: cfs_mat7
}